
  var resources = ['static/js/riot.min.js', 'static/js/sortable.min.js'];
  if(pip.ie() && pip.ie() < 9){
    alert('请升级您的浏览器.');
  }
  if('Promise' in window === false){
    resources.push('static/js/promise.min.js');
  }
  pip.load(resources).on('done', function(){
    var app = new RiotApp({
      id: 'test',
      version: '1.0',
      json: 'static/test.json',
      preload: function(){
        return pip.load(this.data.tags.common);
      },
      debug: true
    });
  });
